package com.cfr.restlet.beans;

import java.util.Date;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "Task")
public class TaskBean {
	
	private String id;
	private String name;
	private String description;
	private String activityName;
	private String assignee;
	private Date createTime;
	private Date duedate;
	private String formResourceName;
	private String executionId;

	public String getId() {
		return id;
	}
	@XmlElement
	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}
	@XmlElement
	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}
	@XmlElement
	public void setDescription(String description) {
		this.description = description;
	}

	public String getActivityName() {
		return activityName;
	}
	@XmlElement
	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}

	public String getAssignee() {
		return assignee;
	}
	@XmlElement
	public void setAssignee(String assignee) {
		this.assignee = assignee;
	}

	public Date getCreateTime() {
		return createTime;
	}
	@XmlElement
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getDuedate() {
		return duedate;
	}
	@XmlElement
	public void setDuedate(Date duedate) {
		this.duedate = duedate;
	}

	public String getFormResourceName() {
		return formResourceName;
	}
	@XmlElement
	public void setFormResourceName(String formResourceName) {
		this.formResourceName = formResourceName;
	}

	public String getExecutionId() {
		return executionId;
	}
	@XmlElement
	public void setExecutionId(String executionId) {
		this.executionId = executionId;
	}

}
